[Previous] [Next] [Index]
[Thread]
Re: URGENT!! Multiple WWW names on the same machine.
[ It has nothing to do with www security but it's an interesting question ]
[ Don't label postings with URGENT if it's only urgent for YOU not for the
READERS of the list ]
On Thu, 8 Feb 1996, Daniel W. Woycke wrote:
> At 10:04 AM 2/8/96, Edgar Valencia Figueroa. wrote:
> >
> > I have this problem: I have a httpd 1.4.2(NSCA) server running in a
> >SunSparc5 with Solaris2.4. I want to have multiples WWW servers name on
> >the same machine, so if some one is looking for:
> >
> > http://www.abc.com - can be redirected to:
> > http://www.myhost.com/some_directory
> >
> > I read that I must have multiple IP address to the same ethernet
> >interface, if I can't do that, How can I solve this problem???
> Try using DNS to answer the same IP for differn domain names...
Then Dana Hudes <dhudes@panix.com> asked:
> But how does the webserver know which directory to serve for which alias?
The solution is "virtual server" on a "multi-homed host".
A "multi-homed host" has not only just more than one name but more than one
IP adresses too. Using "virtual interfaces" you are not bound to having many
ethernetcards. SunOS 5 can provide this.
A "virtual server" binds (listens) not to all available IP address on the host
(INADDR_ANY) but to a specific one. Spinner fi. is able to do so. (See
http://spinner.infovav.se/configuration/servers.htm
or (if it's closer to you)
http://www.xmission.com/www/spinnerdoc/configuration/servers.htm
AFAIK it's impossible with ncsa 1.4.2 (which I run by myself)
read you later - Holger Reif
---------------------------------------- Signaturprojekt Deutsche Einheit
TU Ilmenau - Informatik - Telematik (Verdamp lang her)
Holger.Reif@PrakInf.TU-Ilmenau.DE Alt wie ein Baum werden, um ueber
http://Remus.PrakInf.TU-Ilmenau.DE/Reif/ alle 7 Bruecken gehen zu koennen
Follow-Ups: